package cn.xshi.sys.dao;

import cn.xshi.sys.model.SysCompany;

import java.util.List;
import java.util.Map;

/**
 * @Desc 公司信息
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
public interface SysCompanyDao {

	/**
	* 分页
	* @param condition 
	* @return
	*/
	List<SysCompany> getSysCompanyListByCondition(Map<String,Object> condition);

	/**
	* 查询对象
	* @param id
	* @return
	*/
	SysCompany getSysCompanyById(String id);

	/**
	* 添加
	* @param sysCompany
	* @return
	*/
	int addSysCompany(SysCompany sysCompany);

	/**
	* 修改
	* @param sysCompany
	* @return
	*/
	int updateSysCompany(SysCompany sysCompany);

	/**
	* 删除
	* @param condition 
	* @return
	*/
	int delSysCompany(Map<String,Object> condition);
}
